package com.schoolai.schoolsystem.controller;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.schoolai.util.base.Result;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author bobby
 * @since 2025-09-23
 */
@RestController
@RequestMapping("/SchoolSystemStaff")
@Tag(name = "员工管理", description = "员工管理接口")
public class SchoolSystemStaffController {
   /* @Autowired
    ISchoolSystemStaffService iSchoolSystemStaffService;
    @Operation(summary = "员工信息")
    @ApiOperationSupport(order = 1)
    @GetMapping("/{id}")
    Result view(@PathVariable("id") String id){
        if(StringUtils.isBlank(id)) {
            return Result.error("参数错误");
        }

        return  Result.ok(iSchoolSystemStaffService.getById(id));
    }*/
}
